什麼是 CLI? Gulp-cli? Vue-cli?


Posted by hoyi-23 on 2021-07-18

想要安裝gulp 但是除了 gulp 還有 gulp-cli,這兩個有什麼不同呢?

什麼是 CLI?

CLI 是 Command Line Interface 的縮寫。代表著你可以在終端機利用指令來讓電腦執行某些事情。

像是我們會在全域安裝 npm install -g gulp-cli ,當我們進入專案後,輸入指令 gulp,專案就會執行 gulp。如同 vue-cli 一樣。

Gulp & Gulp-cli

gulp是一个讓你在程式中使用gulp的JS庫。

gulp-cli是一个讓你在命令行中使用gulp的輔助程序。

未完待續..


#CLI







Related Posts

如何不使用 create-react-app 自己打造應用程式

如何不使用 create-react-app 自己打造應用程式

淺談 React 中的 State 與 Props

淺談 React 中的 State 與 Props

金魚都能懂的這個網頁畫面怎麼切 — 學習筆記01

金魚都能懂的這個網頁畫面怎麼切 — 學習筆記01


Comments